from dbus.mainloop.qt import DBusQtMainLoop
from PyQt4 import QtCore, QtGui, Qt
import sys
from dbusbus import DbusBus
from qrcodegui import QRcodeGUI
from configgui import ConfigGui
from tray import Tray

DBusQtMainLoop(set_as_default = True)
app = QtGui.QApplication(sys.argv)
dbusqr = DbusBus(QRcodeGUI())
tr = Tray(ConfigGui())
sys.exit(app.exec_())